home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / educate / adq152.zip / ADQ.DOC next >
Text File  |  1992-02-24  |  17KB  |  386 lines

  1.                       ADVANCED DOS QUIZ DOCUMENTATION
  2.  
  3.  
  4. 1.  What is Advanced DOS Quiz?
  5. 2.  Running Advanced DOS Quiz
  6. 3.  Advanced DOS Quiz Questions
  7. 4.  Registration Info
  8.  
  9.                          WHAT IS ADVANCED DOS QUIZ?
  10.  
  11.  
  12.      If you thought that DOS Quiz was hard, just give Advanced DOS Quiz (ADQ) a
  13. try!  If you thought that DOS Quiz was easy, then try out the questions in ADQ
  14. and see your 100% score turn into a 50% score!
  15.  
  16.      Like DOS Quiz, ADQ is quick and easy way to use.  It can be used to test
  17. anyone on their knowledge of very advanced DOS commands.  ADQ is completely
  18. taken on a DOS computer, and is completely self-contained.  It takes the user
  19. through a series of 20 questions, asking the user to perform unusual, difficult,
  20. or arcane tasks in DOS.  Unlike DOS Quiz, all 20 questions in ADQ are
  21. categorized as Advanced.
  22.  
  23.      At the end of ADQ, a score screen is displayed, which shows a listing of
  24. all of the questions asked, what the main concept of each question was, and
  25. whether the user answered the question correctly or not.  The number and
  26. percentage correct of the all questions asked is also displayed.
  27.  
  28.      ADQ is probably too advanced to be use as a test in an office environment,
  29. though if a position requires a high degree of DOS skill, this may be just the
  30. ticket.  Otherwise, ADQ should be used as a test of your total DOS knowledge,
  31. and as a tutor for some of DOS's more obscure commands.  As with DOS Quiz, ADQ
  32. supports many different syntactical uses of each command and may teach you new
  33. ways of doing old things.
  34.  
  35.      However, it does not cover all switches of all commands.  There are, after
  36. all, only 20 questions.  So if a particular command piques your interest, see
  37. your DOS manual or on-line help (DOS 5.0 and above) for more on that command.
  38.  
  39. Note: As of Version 1.1, ADQ detects if you are using EGA 43-line mode or VGA 
  40. 50-line mode before starting up.  Though DOSQUIZ uses 25-line mode, the line 
  41. mode you started ADQ in will be reset when you leave.
  42.  
  43.                           RUNNING ADVANCED DOS QUIZ
  44.  
  45.      Running ADQ is really quite simple - all you need to do is type ADQ at the
  46. DOS prompt and away you go.  The program is completely self-contained, so no
  47. outside files are needed.  The program is small, so it will run on nearly any
  48. DOS machine.  
  49.  
  50.      As with DOS Quiz, ADQ normally requires a color monitor.  Monochrome 
  51. monitors that emulate color monitors (such as b/w VGA) will work fine in color
  52. mode.  The use of color in the program has been kept to a minimum to allow 
  53. usage on a wide range of computers.  A true monochrome version is available by
  54. type "adq /m" at the DOS prompt.
  55.  
  56.      After typing in ADQ, an intro screen will appear.  After pressing any key
  57. as requested, the user will be prompted for his or her name and Social Security
  58. Number.  This is for score-sheet identification purposes.  The user is asked to
  59. verify his or her entry.  An instruction screen will then appear.  After reading
  60. the instructions and pressing any key, the quiz begins.
  61.  
  62.      After finishing 20 questions, the score screen will appear.  Three 
  63. function keys are active here.  F1 will print a scoresheet out on a parallel
  64. printer in port LPT1.  F2 will prompt you for a filename to save a score-
  65. sheet to (with the user's input name as the default filename).  If the filename
  66. given exists, you will be given a chance to change your choice.  F3 quits the
  67. score screen and the user will be asked if the quiz is to be taken again.  This
  68. is a Yes or No question.  If Yes, the screen will go back to the Name/SSN 
  69. screen.  If No, then ADQ will return control to DOS.
  70.  
  71.      If a user does not know the answer to a question, he or she can either
  72. guess or just press ENTER to skip answering.  ADQ will mark the question as
  73. being incorrectly answered and move on.
  74.  
  75.                          ADVANCED DOS QUIZ QUESTIONS
  76.  
  77.      The following is a listing of all questions asked in ADQ, and their correct
  78. responses.  Note that though the "correct" answers are all presented here in
  79. uppercase, all variations of upper and lower case are valid, as in DOS.  Note
  80. also that though they are not listed as valid responses, spaces are not required
  81. before switches.  For example, CHKDSK/V is the same as CHKDSK /V.  No spaces are
  82. required, either, when redirection is used, though not all of these responses
  83. are listed.  The following two commands are the same: DEBUG<TEST.SCR and
  84. DEBUG < TEST.SCR.  ADQ recognizes all such combinations.
  85.  
  86.  
  87. 1.  Transfer system files to a diskette
  88.  
  89. The user will be asked to type a command that will transfer the system files
  90. from the current hard disk to the diskette in drive A.  Though not mentioned in
  91. the Quiz, these files are the hidden files IO.SYS and MSDOS.SYS and COMMAND.COM. 
  92. The valid answers are:
  93.      
  94.      SYS A:    SYS C: A:      SYS \ A:       SYS C:\ A:
  95.  
  96.  
  97. 2.  Use CHKDSK to show all files on drive, plus memory
  98.  
  99. The user will be asked to type the command that will show all files on the
  100. current drive, report disk usage, and report memory usage.  The valid responses
  101. are:
  102.  
  103.      CHKDSK /V      CHKDSK /V C:   CHKDSK /V C:\       CHKDSK C: /V
  104.      CHKDSK C:\ /V  CHKDSK /V \    CHKDSK \ /V
  105.  
  106. If a \ is given as part of any command, the CHKDSK command will print "File not
  107. found" at the end of the listing - ADQ will, too.
  108.  
  109.  
  110. 3.  Use ECHO to dial a phone number with a modem
  111.  
  112. The user will be told to assume that there is a modem installed as COM1.  The
  113. user will be told to use the ECHO command and the Hayes-compatible AT command-
  114. set to dial the number 555-1212.  The valid answers are:
  115.  
  116.      ECHO ATDT5551212 > COM1       ECHO ATDT 5551212 > COM1
  117.      ECHO ATDT5551212 > COM1:      ECHO ATDT 5551212 > COM1:
  118.  
  119. In addition, the ATDP command may be used in place of ATDT, for use with pulse-
  120. dialing.  Also, a dash (-) may be placed in between the 555 and the 1212.
  121.  
  122.  
  123. 4.  Delete all two-character files with wildcards
  124.  
  125. The user will be placed in the C:\QUIZ directory and be asked to use a DOS
  126. command and wildcards to delete all files that have a two-letter filename.  This
  127. is probably one of the easier questions in ADQ.  Valid responses are:
  128.  
  129.      DEL ??         DEL .\??       DEL ..\QUIZ\??      DEL \QUIZ\??
  130.  
  131. In addition, the ERASE command may replace the DEL command.
  132.  
  133.  
  134. 5.  Use LABEL or VOL to show volume label
  135.  
  136. The user will be asked to type the command that will allow them to see the
  137. volume label of the current drive (C).  The user is warned not to use the DIR
  138. command to accomplish this task.  That would be too easy.  The user is also told
  139. not to try to change the volume label.  Valid responses are:
  140.  
  141.      LABEL          LABEL C:       VOL       VOL C:
  142.  
  143. The difference between the LABEL command and the VOL command is that the LABEL
  144. command automatically asks you for a new volume label, whereas VOL merely shows
  145. you the volume label.  By passing LABEL a new volume label, the label is changed
  146. without prompting.  As ADQ uses DOS 5.0 responses, it will show the volume
  147. serial number as well.  This will not happen on all versions of DOS.
  148.  
  149.  
  150. 6.  Use COPY to combine two files into one
  151.  
  152. The user will be asked to join the files FILE1.DOC and FILE2.DOC into one file,
  153. entitled FILE3.DOC, using the COPY command.  The user is advised that the files
  154. are all in or to be in the current directory, C:\QUIZ, and is warned not to use
  155. any pathnames in the command.  The reason that pathnames are not used here is
  156. because of the overwhelming number of possible valid responses to check for when
  157. pathnames are permitted.  For ADQ's purposes, the following is the valid
  158. response:
  159.  
  160.      COPY FILE1.DOC+FILE2.DOC FILE3.DOC
  161.  
  162. Note that ADQ will allow a space on either or both sides of the + sign.  Also,
  163. since it does not explicitly state which file's contents are to be first in the
  164. destination file, placing FILE2.DOC before FILE1.DOC in the above answer is also
  165. correct.
  166.  
  167.  
  168. 7.  Create a COM file with DEBUG and redirection
  169.  
  170. The user will be told to type in the command that will redirect the contents of
  171. the file TEST.SCR in the C:\QUIZ directory to the DEBUG command.  The user is
  172. warned not to use the TYPE command.  Valid responses are:
  173.  
  174.      DEBUG < TEST.SCR              DEBUG < .\TEST.SCR  
  175.      DEBUG < ..\QUIZ\TEST.SCR      DEBUG < \QUIZ\TEST.SCR
  176.  
  177. In DOS, the command TYPE TEST.SCR | DEBUG has the same effect, but this question
  178. was not intended to be a test of the use of TYPE.
  179.  
  180.  
  181. 8.  Use FIND to find strings in a file
  182.  
  183. The user is asked to find the string "DOS QUIZ" in the file TEST.DOC in the
  184. current directory, C:\QUIZ.  The user is warned not to use redirection in the
  185. command.  The following are valid responses:
  186.  
  187.      FIND "DOS QUIZ" TEST.DOC           FIND "DOS QUIZ" .\TEST.DOC
  188.      FIND "DOS QUIZ" ..\QUIZ\TEST.DOC   FIND "DOS QUIZ" \QUIZ\TEST.DOC
  189.  
  190. Using redirection, the following command would be valid: 
  191.      TYPE TEST.DOC | FIND "DOS QUIZ"
  192. As with question 7, however, this question is not a test of the use of TYPE.
  193.  
  194.  
  195. 9.  Show files in a directory with DIR and wildcards
  196.  
  197. Another relatively simple command, the user is asked to show all files in the
  198. current directory, C:\QUIZ, that have the letter D as the first letter of their
  199. filename and extension.  The user is warned not to use a pathname, for the
  200. reason stated in question 6.  The following are valid responses:
  201.  
  202.      DIR D*.D*      DIR D???????.D*     DIR D*.D??     DIR D???????.D??
  203.  
  204.  
  205. 10.  Make a file read-only
  206.  
  207. The user is asked to make the file TEST.DOC in the current directory, C:\QUIZ, a
  208. read-only file.  Valid answers are:
  209.  
  210.      ATTRIB +R TEST.DOC            ATTRIB +R .\TEST.DOC
  211.      ATTRIB +R ..\QUIZ\TEST.DOC    ATTRIB +R \QUIZ\TEST.DOC
  212.  
  213. The +R may also be placed after the filename.
  214.  
  215. 11.  Set the baud rate of a COM port
  216.  
  217. The user is told to set the baud rate of COM1 to 9600.  The following are valid
  218. responses:
  219.  
  220.      MODE COM1 96             MODE COM1 9600           MODE COM1 BAUD=96
  221.      MODE COM1 BAUD=9600      MODE COM1: 96            MODE COM1: 9600
  222.      MODE COM1: BAUD=96       MODE COM1: BAUD=9600
  223.  
  224.  
  225. 12.  Copy changed files and update archive bit
  226.  
  227. The user is asked to type in the command that will copy all files in the current
  228. directory, C:\QUIZ, with a .DOC extension to the diskette in drive A, but only
  229. those files that have their archive bit set.  At the same time, the archive bit
  230. is to be reset if the file is copied successfully.  The following responses are
  231. valid:
  232.  
  233.      XCOPY /M *.DOC A:             XCOPY /M .\*.DOC A: 
  234.      XCOPY /M ..\QUIZ\*.DOC A:     XCOPY /M \QUIZ\*.DOC A:
  235.  
  236. The /M switch may be located either after the XCOPY, the *.DOC, or the A:
  237. section of the response and still be considered valid.
  238.  
  239.  
  240. 13.  Sort a file
  241.  
  242. The user is asked to sort the file FILE1.DOC, placing the sorted data in the
  243. file FILE2.DOC, both of which are in the current directory, C:\QUIZ.  The user
  244. is warned not to use the TYPE command.  The following are valid:
  245.  
  246.      SORT < FILE1.DOC > FILE2.DOC       SORT > FILE2.DOC < FILE1.DOC
  247.  
  248. Using the TYPE command, the following would be valid:
  249.      TYPE FILE1.DOC | SORT > FILE2.DOC
  250. However, as stated in previous questions, this is not a test of the usage of the
  251. TYPE command.
  252.  
  253.  
  254. 14.  Print out a file to the default printer
  255.  
  256. The user is asked to the COPY command to send the file TEST.DOC in the current
  257. directory, C:\QUIZ, to the standard parallel printer port.  The following are
  258. valid answers:
  259.  
  260.      COPY TEST.DOC PRN             COPY TEST.DOC PRN:
  261.      COPY TEST.DOC LPT1            COPY TEST.DOC LPT1:
  262.      COPY .\TEST.DOC PRN           COPY .\TEST.DOC PRN:
  263.      COPY .\TEST.DOC LPT1          COPY .\TEST.DOC LPT1:
  264.      COPY ..\QUIZ\TEST.DOC PRN     COPY ..\QUIZ\TEST.DOC PRN:
  265.      COPY ..\QUIZ\TEST.DOC LPT1    COPY ..\QUIZ\TEST.DOC LPT1:
  266.      COPY \QUIZ\TEST.DOC PRN       COPY \QUIZ\TEST.DOC PRN:
  267.      COPY \QUIZ\TEST.DOC LPT1      COPY \QUIZ\TEST.DOC LPT1:
  268.  
  269. FYI, the TYPE command could be used in the following manner for the same result:
  270.      TYPE TEST.DOC | PRN
  271.  
  272.  
  273. 15.  View a file one screen at a time
  274.  
  275. Finally, no warnings against using TYPE!  The user is asked to use DOS commands
  276. that will display the file TEST.DOC in the current directory, C:\QUIZ, on the
  277. screen one screen at a time.  The following are valid:
  278.  
  279.      MORE < TEST.DOC               MORE < .\TEST.DOC
  280.      MORE < ..\QUIZ\TEST.DOC       MORE < \QUIZ\TEST.DOC
  281.      TYPE TEST.DOC | MORE          TYPE .\TEST.DOC | MORE
  282.      TYPE .\QUIZ\TEST.DOC | MORE   TYPE \QUIZ\TEST.DOC | MORE
  283.  
  284.  
  285. 16.  Create a file from the keyboard and screen (CON)
  286.  
  287. The user is told to type the command that will allow the user to create the file
  288. TEST.BAT in the current directory, C:\QUIZ.  The following responses are valid:
  289.  
  290.      COPY CON TEST.BAT             COPY CON .\TEST.BAT
  291.      COPY CON ..\QUIZ\TEST.BAT     COPY CON \QUIZ\TEST.BAT
  292.      TYPE CON > TEST.BAT           TYPE CON > .\TEST.BAT
  293.      TYPE CON > ..\QUIZ\TEST.BAT   TYPE CON > \QUIZ\TEST.BAT
  294.  
  295. All above instances of CON may be replaced by CON: as well.
  296.  
  297.  
  298. 17.  Call a batch file from within another batch file
  299.  
  300. The user is asked to type the command that will allow the batch file GO.BAT to
  301. be called by the batch file being created by a COPY CON type command.  Once
  302. GO.BAT has completed, it should return control to the calling batch file.  The
  303. user is told to assume that GO.BAT is in a directory in the PATH variable.  The
  304. following are valid:
  305.  
  306.      CALL GO.BAT         COMMAND /C GO.BAT        COMMAND /CGO.BAT
  307.      CALL GO             COMMAND /C GO            COMMAND /CGO
  308.  
  309.  
  310. 18.  Delete files with prompting
  311.  
  312. The user will be asked to type the command that will delete all .DOC files in
  313. the current directory, C:\QUIZ. However, the command should prompt the user
  314. before performing the deletion.  The valid answers are:
  315.  
  316.      DEL *.DOC /P             DEL .\*.DOC /P
  317.      DEL ..\QUIZ\*.DOC /P     DEL \QUIZ\*.DOC /P
  318.  
  319. The ERASE command may replace the DEL command.  The /P MUST be at the end of the
  320. command.  Note that the /P switch is new as of DOS 4.0.
  321.  
  322.  
  323. 19.  Make a logical drive out of a directory
  324.  
  325. The user is asked to make the directory C:\QUIZ into a logical drive named D. 
  326. The user will run the command from C:\.  The following are valid:
  327.  
  328.      SUBST D: \QUIZ      SUBST D: QUIZ       SUBST D: C:\QUIZ
  329.  
  330.  
  331. 20.  Reset the DOS PATH environment variable
  332.  
  333. The user is asked to clear the search-path setting.  The following are valid:
  334.  
  335.      PATH;          PATH ;
  336.  
  337.                          ADVANCED DOS QUIZ REGISTRATION
  338.  
  339.                                   Registration
  340.  
  341. ADQ is shareware, and I retain all copyrights to the program.  If you use and
  342. like ADQ, I request that you donate $15 to continue to use it.  If you do, and
  343. also send a diskette (5¼ or 3½ Double or High density), I will include any new
  344. version of ADQ, as well as any bonus utilities I have written at that time. 
  345. Please enclose an extra $1 to cover postage, and be sure to enclose your
  346. address. 
  347.  
  348. If you would like a customized version of ADQ, please contact me for a quote on
  349. time and cost (if any).  Registering your copy of DOS Quiz (and sending a
  350. diskette with your registration) will automatically get you the monochrome
  351. version of DOS Quiz.
  352.  
  353.  
  354.              SPECIAL DISCOUNT FOR USERS OF DOS5QUIZ AND/OR DOSQUIZ
  355.  
  356. DOSQuiz, as mentioned in the introduction, is the basis for the DOSQuiz line.
  357. DOS5Quiz is a DOSQuiz specially designed to test your DOS 5.0 knowledge.  
  358. If you wish to become part of the DOS Quiz family by registering any 
  359. combination of the DOS Quiz programs, you will be getting some great training/
  360. testing tools at a great price.  Any two DOS Quiz programs may be registered 
  361. for $20 (a savings of $10), all three for $25 (a savings of $20).  The same 
  362. diskette and postage charges outlined above apply.  See the enclosed file 
  363. PRICE.LST for and invoice and other ordering info.  The latest versions of 
  364. all DOS Quiz products can be downloaded from the IBMAPP forum on CompuServe.
  365.  
  366.  
  367. Steve Mount 
  368. RR 1 Box 320 
  369. Starksboro, VT  05487-9702 
  370.  
  371.  
  372. Contact me on CompuServe:  ID 73720,3404
  373.  
  374. Call for ordering/support: (802) 453-5273
  375.  
  376.  
  377. THE ADQ PROGRAM AND THIS MANUAL ARE COPYRIGHTED DOCUMENTS.  THE OWNER OF THE
  378. COPYRIGHT GIVES OTHERS PERMISSION TO DISTRIBUTE UNALTERED COPIES OF THE PROGRAM
  379. AND DOCUMENTATION TO OTHER INTERESTED PARTIES.  THIS PROGRAM IS NOT IN THE
  380. PUBLIC DOMAIN.  IF YOU USE ADQ, PLEASE PAY THE REGISTRATION FEE.  IT WILL ENSURE
  381. CONTINUED GROWTH OF THE PROGRAM FOR ALL USERS.
  382.  
  383.          ADQ AND DOCUMENTATION COPYRIGHT (C) 1991, 1992 BY STEVE MOUNT 
  384.                               ALL RIGHTS RESERVED. 
  385.  
  386.